package com.itheima.patterns.builderpattern.prototype.deepcopy2;

public class Address implements Cloneable {
    int id;
    String addressName;
    
    public Address(int id, String addressName) {
        this.id = id;
        this.addressName = addressName;
    }
    
    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}